projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eea6dd
)
tests: Ignore deprecations
author
Benjamin Otte
<otte@redhat.com>
Sun, 23 Jun 2013 23:13:44 +0000
(
01:13
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 23 Jun 2013 23:13:44 +0000
(
01:13
+0200)
... for where there's no replacement.
testsuite/gtk/recentmanager.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/recentmanager.c
b/testsuite/gtk/recentmanager.c
index 84b7c670b80e640e9b2c01aa943f9e4375466c96..10ed43061bff9842cab7bd94bfb89b77bf340972 100644
(file)
--- a/
testsuite/gtk/recentmanager.c
+++ b/
testsuite/gtk/recentmanager.c
@@
-47,6
+47,8
@@
recent_manager_add (void)
recent_data = g_slice_new0 (GtkRecentData);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
+
/* mime type is mandatory */
recent_data->mime_type = NULL;
recent_data->app_name = "testrecentchooser";
@@
-83,6
+85,8
@@
recent_manager_add (void)
}
g_test_trap_assert_failed ();
+ G_GNUC_END_IGNORE_DEPRECATIONS;
+
recent_data->mime_type = "text/plain";
recent_data->app_name = "testrecentchooser";
recent_data->app_exec = "testrecentchooser %u";